import java.util.HashSet;
import java.util.List;
import java.util.Set;


public class StemNormalizer implements Normalizer {

	@Override
	public Set<String> getTerms(List<String> tokens) {
		Set<String> terms = new HashSet<String>();
		for (String t : tokens) {
			terms.add(Stemmer.stem(t));
		}
		return terms;
	}

}
